package com.hwatsang.dao;

import com.hwatsang.model.SmsAuthCode;

public interface SmsAuthCodeDao {
	
	String createSmsAuthCode(SmsAuthCode smsAuthCode);
	
	SmsAuthCode getAuthCodeByUserId(long userId);
	
	boolean updateSmsAuthCode(SmsAuthCode smsAuthCode);
	
	boolean deleteSmsAuthCodeById(long id);
	
	boolean deleteSmsAuthCodeByUserId(long userId);
	
}	
